<?php

namespace IDock\Insurance\ZMBX\Request;

use IDock\Insurance\ZMBX\Request\AllZMBXRequest;
use IDock\Insurance\ZMBX\Response\VehicleModelResponse;
use IDock\Visitor\VehicleModelVisitor;

class VehicleModelRequest extends AllZMBXRequest
{
    protected $route = 'ModelsQuery.do';
    public $requestCode = 'ModelsQuery';

    protected $response = VehicleModelResponse::class;

    protected $urlTip = '车型查询';

    /*** @var  VehicleModelVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        $this->setZMBXToken($this->visitor->argc);
        return [
            'ModelName' => $this->visitor->vehicleModel,
            'Brand' => '',
            'ModelCode' => '',
        ];
    }
}
